package com.czy.mapper;

import com.czy.contorller.user.CheckinRecordController;
import com.czy.entity.CheckinRecord;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CheckinRecordMapper {
    @Insert("insert into checkin_record (user_id, username, address, checkin_time, verification_code, status)" +
            "values (#{userId}, #{username}, #{address}, #{checkinTime}, #{verificationCode},#{status})")
    public void insertCheckin(CheckinRecord checkinRecord);
}
